package lab7;

public class Calculator implements CalculatorInterface {

	
	public int add(int x, int y){
		
		int sum;
		
		sum = x+y;
		
		return sum;
		
	
	}
	
	public int subtract(int x, int y){
		
		int sub;
		
		sub = x - y;
		
		return sub;
	}
	
	public int multiply(int x, int y){
		
		int mul;
		
		mul = x * y;
		
		return mul;
	}

	public int divide(int x, int y){
		
		int div;
		
		div = x/y;
	
	return div;
}
}
